<?php
declare(strict_types=1);
require_once dirname(__DIR__) . '/includes/bootstrap.php';
$current_year = (int) date('Y');
$faqs = [
    ['q' => 'What is the B.Sc Nursing fee in Bangalore ' . $current_year . '?',
     'a' => 'B.Sc Nursing fees at INC-approved colleges in Bangalore range from ₹60,000–₹1.5 lakh per year for government-aided seats (KCET allotted) and ₹1.5–₹3 lakh per year for management quota seats. College2U provides a verified fee list from college notifications.'],
    ['q' => 'Is NEET required for B.Sc Nursing in Bangalore?',
     'a' => 'NEET is not mandatory for B.Sc Nursing in Karnataka. Admission is through KCET (Karnataka CET for nursing) or direct management quota based on 10+2 PCB marks. INC approval is mandatory for the college.'],
    ['q' => 'What is the scope after B.Sc Nursing in Bangalore?',
     'a' => 'B.Sc Nursing graduates from INC-approved Bangalore colleges can work in government hospitals, private hospitals, abroad (UK, Canada, Germany, Gulf), pursue M.Sc Nursing, or specialise in ICU, OT, or community health. Average starting salary in India is ₹3–₹5 lakh per annum.'],
];
$breadcrumbs = [['name' => 'Nursing Colleges', 'url' => c2u_url('nursing')]];
$seo = c2u_seo([
    'title'       => 'Nursing Colleges in Bangalore ' . $current_year . ' — B.Sc Nursing, GNM Admission | College2U',
    'description' => 'INC-approved nursing colleges in Bangalore ' . $current_year . ': B.Sc Nursing fees, KCET cutoffs, GNM admission. Free counselling from College2U.',
    'canonical'   => c2u_url('nursing'),
    'og_image'    => c2u_asset('images/og/nursing-stream-og.webp'),
    'page_type'   => 'stream',
    'breadcrumbs' => $breadcrumbs,
    'schema'      => [c2u_schema_faq($faqs)],
]);
$extra_head = '<style nonce="' . c2u_e(C2U_CSP_NONCE) . '">
:root{--acc:#14b8a6;--acc-d:#0f766e;--acc-l:#f0fdfa;--acc-em:#5eead4;}
.stream-hero{background:linear-gradient(145deg,#031a18 0%,#063d37 100%);min-height:min(50vh,440px);display:flex;align-items:center;position:relative;}
.stream-hero__inner{width:100%;max-width:1200px;margin:0 auto;padding:4rem 1.5rem;}
.stream-eyebrow{display:inline-flex;align-items:center;gap:.5rem;background:rgba(20,184,166,.2);border:1px solid rgba(20,184,166,.4);color:var(--acc-em);border-radius:2rem;padding:.375rem .875rem;font-size:.8rem;font-weight:600;letter-spacing:.04em;text-transform:uppercase;margin-bottom:1.25rem;}
.stream-h1{font-size:clamp(1.75rem,4vw,2.75rem);font-weight:800;color:#fff;letter-spacing:-.025em;margin:0 0 1rem;line-height:1.15;}
.stream-h1 em{color:var(--acc-em);font-style:normal;}
.stream-hero__sub{color:rgba(255,255,255,.72);font-size:1rem;line-height:1.65;margin:0 0 2rem;max-width:580px;}
.stream-hero__ctas{display:flex;flex-wrap:wrap;gap:.75rem;}
.btn--stream-primary{background:var(--acc);color:#fff;font-weight:700;font-size:.9375rem;padding:.75rem 1.75rem;border-radius:.5rem;text-decoration:none;transition:background .2s;}
.btn--stream-primary:hover{background:var(--acc-d);}
.btn--stream-secondary{background:rgba(255,255,255,.1);color:#fff;font-weight:600;font-size:.9375rem;padding:.75rem 1.75rem;border-radius:.5rem;border:1px solid rgba(255,255,255,.25);text-decoration:none;}
.c2u-section{padding:4rem 1.5rem;}.c2u-section--alt{background:#f8fafc;}
.c2u-section-inner{max-width:1200px;margin:0 auto;}
.c2u-section-heading{font-size:clamp(1.375rem,3vw,2rem);font-weight:800;color:#0f172a;letter-spacing:-.025em;margin:0 0 .5rem;}
.c2u-section-sub{font-size:.9375rem;color:#64748b;margin:0 0 2.5rem;line-height:1.6;max-width:560px;}
.faq-item{border-bottom:1px solid #e2e8f0;}.faq-q{width:100%;display:flex;justify-content:space-between;align-items:center;background:none;border:none;cursor:pointer;padding:1rem 0;font-size:.9375rem;font-weight:600;color:#0f172a;text-align:left;gap:1rem;}
.faq-q__icon{flex-shrink:0;transition:transform .25s;color:#94a3b8;}.faq-q[aria-expanded="true"] .faq-q__icon{transform:rotate(180deg);}
.faq-a{padding:0 0 1rem;font-size:.9375rem;line-height:1.65;color:#64748b;}.faq-a[hidden]{display:none;}
.cta-banner{background:linear-gradient(135deg,var(--acc-l),#ccfbf1);border:1.5px solid var(--acc-em);border-radius:1rem;padding:2.5rem;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1.5rem;margin-top:3rem;}
.cta-banner h2{font-size:1.25rem;font-weight:800;color:#134e4a;margin:0;}
.cta-banner p{font-size:.9375rem;color:var(--acc-d);margin:.25rem 0 0;}
.btn--cta{background:var(--acc);color:#fff;font-weight:700;font-size:.9375rem;padding:.75rem 1.75rem;border-radius:.5rem;text-decoration:none;white-space:nowrap;}
.btn--cta:hover{background:var(--acc-d);}
</style>';
$page_js = <<<'JS'
(function(){document.querySelectorAll('.faq-q').forEach(function(btn){btn.addEventListener('click',function(){var exp=this.getAttribute('aria-expanded')==='true';document.querySelectorAll('.faq-q').forEach(function(b){b.setAttribute('aria-expanded','false');var p=document.getElementById(b.getAttribute('aria-controls'));if(p){p.hidden=true;}});if(!exp){this.setAttribute('aria-expanded','true');var panel=document.getElementById(this.getAttribute('aria-controls'));if(panel){panel.hidden=false;}}});});})();
JS;
require_once C2U_INCLUDES . '/header.php';
?>
<section class="stream-hero" aria-labelledby="stream-h1">
  <div class="stream-hero__inner">
    <div style="margin-bottom:1.25rem;"><?= c2u_render_breadcrumb($breadcrumbs) ?></div>
    <p class="stream-eyebrow">Nursing Admissions <?= $current_year ?></p>
    <h1 class="stream-h1" id="stream-h1">Nursing Colleges in <em>Bangalore</em> <?= $current_year ?></h1>
    <p class="stream-hero__sub"><abbr title="Indian Nursing Council">INC</abbr>-approved nursing colleges in Bangalore: B.Sc Nursing, GNM, M.Sc Nursing fees, KCET cutoffs, and admission eligibility — verified from official sources.</p>
    <div class="stream-hero__ctas">
      <a href="<?= c2u_e(c2u_url('nursing/bsc-nursing-admission')) ?>" class="btn--stream-primary">B.Sc Nursing Admission <?= $current_year ?> →</a>
      <a href="<?= c2u_e(c2u_url('counselor-booking')) ?>" class="btn--stream-secondary">Book free counselling</a>
    </div>
  </div>
</section>
<section class="c2u-section c2u-section--alt" id="faq" aria-labelledby="faq-h2" data-reveal>
  <div class="c2u-section-inner">
    <header style="margin-bottom:2rem;">
      <h2 class="c2u-section-heading" id="faq-h2">Frequently asked questions — Nursing admission Bangalore</h2>
    </header>
    <div style="max-width:760px;" role="list">
      <?php foreach ($faqs as $i => $faq): ?>
      <div class="faq-item" role="listitem">
        <button class="faq-q" id="nfaq-btn-<?= $i ?>" type="button" aria-expanded="false" aria-controls="nfaq-a-<?= $i ?>">
          <span><?= c2u_e($faq['q']) ?></span>
          <span class="faq-q__icon" aria-hidden="true"><svg width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round"><path d="M4 6l5 5 5-5"/></svg></span>
        </button>
        <div class="faq-a" id="nfaq-a-<?= $i ?>" role="region" aria-labelledby="nfaq-btn-<?= $i ?>" hidden><p><?= c2u_e($faq['a']) ?></p></div>
      </div>
      <?php endforeach; ?>
    </div>
    <div class="cta-banner" role="complementary">
      <div><h2>Need guidance for B.Sc Nursing admission in Bangalore?</h2><p>Free counselling based on your KCET rank or marks.</p></div>
      <a href="<?= c2u_e(c2u_url('counselor-booking')) ?>" class="btn--cta">Book free counselling →</a>
    </div>
  </div>
</section>
<?php require_once C2U_INCLUDES . '/footer.php'; ?>
